<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!--  新建一个任务的弹出窗体  -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="css/allpage.css" rel="stylesheet" media="all" />
    <script type="text/javascript"
    src="js/jquery-ui-1.11.4.custom/external/jquery/jquery.js"></script>
<script type="text/javascript"
	src="js/jquery-ui-1.11.4.custom/jquery-ui.js"></script>
    <script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
    		<script type="text/javascript" language="javascript" src="js/ratingsys.js"></script> 
	<style type="text/css">
    #rateStatus{float:left; clear:both; width:100%; height:30px;}
    #important1{ clear:both; width:100%;  padding:0px; margin:0px;}
    #important1 li{float:left;list-style:none;}
    #important1 li a:hover,
    #important1 .on{background:url(images/2.gif) no-repeat;width:30px;height:30px;}
    #important1 a{float:left;background:url(images/1.gif) no-repeat;width:30px; height:30px;}
    #ratingSaved{display:none;}
    .saved{color:red; }
   </style> 
     <script type="text/javascript">
	
     $(document).ready(function(){
    var starsnum = 1; 
     $("#_1").click(function(){
     starsnum = 1;
    $("input[name='important']").val(starsnum);
     
     });
          $("#_2").click(function(){
     starsnum = 2;
         $("input[name='important']").val(starsnum);
     
     });
          $("#_3").click(function(){
     starsnum = 3;    $("input[name='important']").val(starsnum);
     
     });
          $("#_4").click(function(){
     starsnum = 4;    $("input[name='important']").val(starsnum);
     
     });
          $("#_5").click(function(){
     starsnum = 5;    $("input[name='important']").val(starsnum);
     
     });
     $("input[name='confirm']").click(function(){
     $("form").submit();
//      var events=[
//                    {
//                        timeAA:'dsfdf',
//                        title  : 'event1',
//                        url:'test.html',
//                        start  : '2015-12-29'
//                    }
//                ];
     });
     });
     </script>
  </head>
  <body>
<form method="post" action="taskAction.action">
<table width="250px" border="1px" cellspacing="1" bordercolor="#">
  <tr>
    <td colspan="2" align="center"><input height="30px" style="width:240px;size:40px;padding-left:5px;"  id="content" name="content" value="新建日程安排" type="text"></td>
  </tr>
  <tr>
    <td width="70">全天时间</td>
    <td width="180"><input type="radio"  name="isWholeDay" checked value=true>是<input type="radio"  name="isWholeDay" value=false>否</td>
  </tr>
  <tr>
    <td>开始时间</td>
    <td align="center"><input height="20px" type="text" style="width:160px;" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})
" name="startTime"></td>
  </tr>
  <tr>
    <td>结束时间</td>
    <td align="center"><input height="20px" type="text" style="width:160px" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})
"  name="endTime"></td>
  </tr>
  <tr>
    <td>任务地点</td>
    <td align="center"><input height="20px" type="text" style="width:160px;"  name="address"></td>
  </tr>
   <tr>
    <td id="rateStatus1">任务星级</td>
 <td align="center">
<div id="important1"title="任务星级">
    <a onClick="rateIt(this,'1',5,1)"id="_1"  title="不重要" onMouseOver="rating(this,'1',5,1)" onMouseOut="off(this,'1',5,1)"></a>
    <a onClick="rateIt(this,'1',5,1)"  id="_2" title="暂缓" onMouseOver="rating(this,'1',5,1)" onMouseOut="off(this,'1',5,1)"></a>
    <a onClick="rateIt(this,'1',5,1)"   id="_3" title="普通" onMouseOver="rating(this,'1',5,1)" onMouseOut="off(this,'1',5,1)"></a>
     <a onClick="rateIt(this,'1',5,1)"  id="_4" title="重要" onMouseOver="rating(this,'1',5,1)" onMouseOut="off(this,'1',5,1)"></a>
      <a onClick="rateIt(this,'1',5,1)"   id="_5" title="紧急" onMouseOver="rating(this,'1',5,1)" onMouseOut="off(this,'1',5,1)"></a>
</div>
<input type="hidden" name="important"  >
</td>
  </tr>
<!--   <tr> -->
<!--   	<td>是否完成</td> -->
<!--     <td> -->
<!--     	<input type="radio" name="type" value=1>是 -->
<!-- 		<input type="radio" name="type" value=0>否 -->
<!--     </td> -->
<!--   </tr> -->
<tr>
    <td>确定</td>
    <td align="center"><input height="20px" type="button"   name="confirm" value="确定">
    <input height="20px" type="button"   name="cancel" value="取消">
    </td>
  </tr>
</table> 

</form>
</body>
</html>
